﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace lcs.Web.tendercompanyinfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int tcid=(Convert.ToInt32(strid));
					ShowInfo(tcid);
				}
			}
		}
		
	private void ShowInfo(int tcid)
	{
		lcs.BLL.tendercompanyinfo bll=new lcs.BLL.tendercompanyinfo();
		lcs.Model.tendercompanyinfo model=bll.GetModel(tcid);
		this.lbltcid.Text=model.tcid.ToString();
		this.lbltcbh.Text=model.tcbh;
		this.lbltcname.Text=model.tcname;
		this.lbltcadd.Text=model.tcadd;
		this.lbltclink.Text=model.tclink;
		this.lbltcphone.Text=model.tcphone;
		this.lbltcfax.Text=model.tcfax;
		this.lbltcemail.Text=model.tcemail;
		this.lbltcjlid.Text=model.tcjlid.ToString();

	}


    }
}
